<div class="header-t-wrap">
  <div class="header-t f-cb">
    <div class="leftside f-cb">
      <!--{if !$visitor.user_id}-->
      <div class="leftside-l">
        {$lang.hello}，欢迎来到万菱！ 请
        <a href="{userurl app=member&act=login&ret_url=$ret_url}" rel="nofollow">{$lang.login}</a>
        |
        <a href="{userurl app=member&act=register&ret_url=$ret_url}" target="_blank" rel="nofollow">{$lang.register}</a>
      </div>
      <!--{else}-->
      <div class="leftside-r">
        {$lang.hello}，<a href="{userurl app=member}" rel="nofollow">{$visitor.user_name|escape}</a>，欢迎来到万菱！
        <a target="_blank" href="{url app=my_question}" rel="nofollow">消息</a>
        [
        <a href="{userurl app=member&act=logout}" rel="nofollow">{$lang.logout}</a>
        ]
      </div>
      <!--{/if}-->
    </div>
    <ul class="rightside f-cb" id="rightside">
      <li>
        <a href="{url app=mobile}" class="mobile fixpng" target="_blank" rel="nofollow">手机万菱</a>
      </li>
      <li class="mywl sl">
        <a href="{userurl app=member}" class="mywla fixpng" rel="nofollow">我的万菱</a>
        <div class="wl-hd">
          <dl>
            <dt></dt>
            <dd>
           	  <a href="{userurl app=paycenter&act=my_account&from=buyer}">我的礼品卡</a>
            </dd>
            <dd>
              <a href="{userurl app=buyer_order}" rel="nofollow">已买到的商品</a>
            </dd>
            <dd>
              <a href="{userurl app=buyer_order&type=pending}" rel="nofollow">待付款</a>
            </dd>
            <dd>
              <a href="{userurl app=buyer_order&type=accepted}" rel="nofollow">待卖家发货</a>
            </dd>
          </dl>
        </div>
      </li>
      <li id="shopcar" class="shopcar sl">
        <a href="{carturl app=cart}" class="shopcara fixpng" rel="nofollow">购物车({$cart_top_list.total_quantity|default:0})</a>
        <div class="wl-hd">
          <!--{if $cart_top_list.total}-->
          <dl class="settle-up">
            <dt>
              <h5>最新加入的商品</h5>
            </dt>
            <dd class="setup-content">
              <!--{foreach from=$cart_top_list.cart item=item}-->
              <div class="setup-floor f-cb">
                <div class="img f-fl">
                  <a  href="{url app=goods&id=$item.goods_id}" title="{$item.goods_name|escape}" target="_blank" >
                    <img src="{$item.goods_image}" alt="{$item.goods_name|escape}" width="50" height="50" />
                  </a>
                </div>
                <div class="title f-fl">
                  <p>
                    <a href="{url app=goods&id=$item.goods_id}" title="{$item.goods_name|escape}" target="_blank" class="linkbtn">{$item.goods_name}</a>
                  </p>
                </div>
                <div class="price f-fl"><i>{$item.price|price}</i>
                  × {$item.quantity}
                </div>
              </div>
              <!--{/foreach}--> </dd>
            <dd class="setup-pay">
              <div>
                共 <i>{$cart_top_list.total_quantity|default:0}</i>
                件商品　共计
                <i class="big">{$cart_top_list.total_price|price}</i>
              </div>
              <div>
                <a href="{carturl app=cart}" class="subbtnhs" rel="nofollow">去购物车结算</a>
              </div>
            </dd>
          </dl>
          <!--{else}-->
          <div class="empty-car">您的购物车还没有货品，赶紧选购吧！</div>
          <!--{/if}--> </div>
      </li>
      <li>
        <a href="{userurl app=my_favorite}" class="favoritea" target="_blank" rel="nofollow">收藏夹</a>
      </li>
      <li class="serve">
        <a href="{url app=article&code=help}" target="_blank" rel="nofollow">帮助中心</a>
      </li>
</ul>
</div>
</div>